package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CompanyForumAnswer;
import com.isunland.managesystem.entity.CompanyForumAnswer.actualObject;

public class CompanyFroumTopicReplyActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    String id = getIntent().getStringExtra(CompanyFroumTopicReplyFragment.EXTRA_ID);
    CompanyForumAnswer.actualObject topicAnswer =
        (actualObject) getIntent().getSerializableExtra(CompanyFroumTopicReplyFragment.EXTRA_VALUE);
    String type = getIntent().getStringExtra(CompanyFroumTopicReplyFragment.REQUEST_TYPE);
    return CompanyFroumTopicReplyFragment.newInstance(id, topicAnswer, type);
  }
}
